package org.zxp.designpattern.template;

/**
 * @program: effectiveJava
 * @description:
 * @author: X-Pacific zhang
 * @create: 2019-08-23 14:20
 **/
public class PolicyServerSH extends AbstractPolicyServer {

    @Override
    public boolean sendToPlatform() {
        System.out.println("与上海平台交互");
        return true;
    }

    @Override
    public PolicyBean generateObject(String json) {
        System.out.println("组织上海车险出单服务");
        return new PolicyBean.PolicyBeanBuilder().appliName("1").build();
    }
}
